<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <!-- 给当前页面域添加一段java代码，用来自动获取当前项目名，不写死,然后再通过EL表达式获取 -->
    <%
    	pageContext.setAttribute("PATH",request.getContextPath());
    
     %>

    <head>
 		<base href="<%=basePath%>">
        <meta charset="utf-8">
        <title>管理员登录</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="">
        <meta name="author" content="">

        <!-- CSS -->
        <link rel='stylesheet' href='http://fonts.googleapis.com/css?family=PT+Sans:400,700'>
        <link rel="stylesheet" href="assets2/css/reset.css">
        <link rel="stylesheet" href="assets2/css/supersized.css">
        <link rel="stylesheet" href="assets2/css/style.css">


    </head>

    <body>

        <div class="page-container">
            <h1>德林文化传媒有限公司</h1>
            <form action="${PATH}/admin/tologin.do" method="post">
                <input type="text" name="username" class="username" placeholder="Username" required="required">
                <input type="password" name="password" class="password" placeholder="Password" required="required">
                <button type="submit">登录</button>
                <div class="error"><span>+</span></div>
            </form>
        </div>

        <!-- Javascript -->
        <script src="${PATH }/assets2/js/jquery-1.8.2.min.js"></script>
        <script src="${PATH }/assets2/js/supersized.3.2.7.min.js"></script>
        <script src="${PATH }/assets2/js/supersized-init.js"></script>
        <script src="${PATH }/assets2/js/scripts.js"></script>

    </body>

</html>

